package com.jingdun.sport.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingdun.sport.bean.model.NewSportRecords;
import com.jingdun.sport.bean.model.TrendsChat;
import com.jingdun.sport.common.util.PageParam;
import com.jingdun.sport.dao.NewSportRecordsMapper;
import com.jingdun.sport.dao.RoomMapper;
import com.jingdun.sport.dao.TrendsChatMapper;
import com.jingdun.sport.service.NewSportRecordsService;
import com.jingdun.sport.service.TrendsChatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrendsChatServiceImpl extends ServiceImpl<TrendsChatMapper, TrendsChat> implements TrendsChatService {

    @Autowired
    RoomMapper roomMapper;

    @Override
    public List<TrendsChat> pageList(Long trendsId, PageParam page) {
        return roomMapper.pageList(trendsId, page);
    }
}
